<template>
  <view class="navbar" :style="{ paddingTop: top }"/>
</template>

<script setup>
  import { useSystermStore } from "@/store";
  const systerm = useSystermStore()
  // const top = uni.getSystemInfoSync().safeArea.top + 'px'
  const top = systerm.safeArea.top + 'px'
</script>

<style>
  .navbar{
    width: 100vh;
  }
</style>